package com.service;

import com.entity.PostsEntity;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface PostsService {
    List<PostsEntity> postsList() throws IOException;

    boolean insertPosts(PostsEntity postsEntity) throws IOException;

    PostsEntity getBypostsId(String id) throws IOException;

    PostsEntity testPostUser(String id) throws IOException;
}
